Vue.component("show", {
  // 模板语法
  props: ["role"],
  template: `
    <div>
        <ul>
            <li v-for="item in role">
                {{item.roleName}}{{item.roleSeries}}
            </li>
        </ul>
        </div>`,
});
const app = new Vue({
    el:"#app",
  data: {
    
       "role": ["皮卡丘","皮卡丘"] ,
       "roles":  ["电系","皮卡丘"],
  }
});
